package com.fsc.comadapoc1.entities.trade
{
	import com.fsc.comadapoc1.entities.Fund;
	import com.fsc.comadapoc1.entities.Portfolio;

	public class Trade
			
	{
		
		public function Trade(){}
		
		public var Type:String = TransactionType.Subscription; //Use TransactionType.Subscription
		
		public var Subtype:String = TransactionSubType.InvestmentAmount; //Use TransactionSubType.InvestmentAmount
		
		public var Status:String = TransactionStatus.TSNew;//Use TransactionStatus.New
		
		public var Portfolio:com.fsc.comadapoc1.entities.trade.Portfolio;//See below
		
		public var Fund:com.fsc.comadapoc1.entities.trade.Fund;//See below
		
		public var Amount:Number;
		
		public var Shares:Number;
		
		public var Initiated:Date;//The date the trade is created, normally today’s date.
		
		public var ValueDealingDate:Date;
		
		public var Id:int;//Leave empty
		
		public var ExternalId:String;//leave empty
		
		public var Equalisation:Number; //leave empty
		
		public var FullRedemption:Boolean = false; //set to false
		
		public var Notes:String; 
		
		public var TransferAgentTradeId:String; //leave empty
		
		public var AmountDue:Number;
		
		public var Consideration:Number;
		
		public var TypeOfExchange:String;
		
		public var DealPrice:Number;
		
		public var IsMonetised:Boolean;
		
		public var TrancheName:String;
		
		public var TrancheCommitment:Number;
		
		
		
	}
}

